import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {PublishMessageComponent} from './publish-message/publish-message.component';
import {PublishMessageService} from './publish-message/publish-message.service';
import {HttpModule, JsonpModule} from '@angular/http';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FrameRoutingModule} from './frame.routes';
import {FrameComponent} from './frame.component';
import {CKEditorModule} from 'ng2-ckeditor';
import { TopMenuComponent } from './component/top-menu/top-menu.component';

@NgModule({
  imports: [
    FormsModule,
    CommonModule,
    HttpModule,
    FrameRoutingModule,
    JsonpModule,
    NgZorroAntdModule,
    CKEditorModule,
    ReactiveFormsModule
  ],
  declarations: [
    FrameComponent,
    PublishMessageComponent,
    TopMenuComponent
  ],
  providers: [
    PublishMessageService
  ]
})
export class FrameModule { }
